package bim.dao;

import java.util.List;

import bim.domain.Message;
import bim.domain.User;
import keter.dao.base.KeterDao;

public interface MessageDao extends KeterDao<Message> {
	
	
	public List<Message> findInboxByReceiverId(Long id);
	
	public List<Message> findSentMessageBySenderId(Long id);

	void sendMessage(Message pm);

	void sendMessage(Message pm, List<User> receiverList);

	void deleteMessageById(Long id);	
}
